Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.social.workspace.notifications

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.social.workspace.notifications">

  <extension
    target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
    point="notifications">

    <notification name="Social Subscriptions updated" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="true" template="subscriptionsUpdated" subject="New subscription" label="label.nuxeo.notifications.subscriptions.updated">
      <event name="subscriptionAssigned"/>
    </notification>

    <notification name="Social Modification" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="false" template="modif" subject="${docTitle} has been modified by ${author}" label="label.nuxeo.notifications.modif">
      <event name="documentModified"/>
    </notification>

    <notification name="Social Creation" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="false" template="modif" subject="${docTitle} has been created by ${author}" label="label.nuxeo.notifications.create">
      <event name="documentCreated"/>
    </notification>

    <notification name="Social Workflow Change" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="false" template="workflow" subject="Workflow event" label="label.nuxeo.notifications.workflow">
      <event name="workflowNewProcessStarted"/>
      <event name="workflowProcessEnded"/>
      <event name="workflowProcessCanceled"/>
      <event name="workflowAbandoned"/>
      <event name="workflowTaskCompleted"/>
      <event name="workflowTaskRejected"/>
      <event name="workflowTaskAssigned"/>
    </notification>

    <notification name="Social Approbation review started" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="false" template="aprobationWorkflowStarted" subject="Review started for ${docTitle}"
      label="label.nuxeo.notifications.appReviewStarted">
      <event name="workflowNewProcessStarted"/>
    </notification>

    <notification name="Social Task assigned" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="true" template="workflowTaskAssigned" subject="Task Assigned for ${docTitle}"
      label="label.nuxeo.notifications.taskAssigned">
      <event name="workflowTaskAssigned"/>
    </notification>

    <notification name="Social CommentPublication" channel="email" enabled="true" availableIn="SocialWorkspace"
      autoSubscribed="false" template="comment" subject="Comment published" label="notifications.name.Comments">
      <event name="commentPublished"/>
    </notification>

  </extension>

</component>